using System;
using System.Windows.Input;
using HelloWorld.Controllers;
using Phoenix;

namespace HelloWorld.ViewModels.Home
{
    public class LoginViewModel : ViewModelBase
    {
        public LoginViewModel()
        {
            LoginCommand = Controller<LoginController>().InvokeActionCommand<bool>((c, a) => c.Login(a));
        }

        public ICommand LoginCommand { get; private set; }
    }
}